package com.jiaertangshi.jiaer.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 
 * 交易记账记录表
 * @author 98157
 *
 */
public class Business implements Serializable{
	
	
    private Integer id;   //订单Id

    private String transactionType; //交易类型(收入或者支出)

    private String transactionRes; //交易产生的来源，如点餐或创客付费等

    private BigDecimal transactionValue;//交易金额

    private String transactionFun;//交易方式-微信或银行或现金

    private String transactionInno;//交易收入账号

    private String transactionOutno;//交易支出账号

    private Integer transactionInuserid;//交易收入用户id

    private Integer transactionOutuserid;//交易支出用户id

    private String transactionReno;//交易产生流水号

    private Integer transactionRealuserid;//处理人userid

    private Date transactionDate;//交易时间

    private Integer transactionBillid;//交易来源的主键id如点餐订单id等

    private String transactionMark;//交易备注信息

    private Boolean dataStatus;//数据状态，1有效0无效

    private Date createdAt;//创建时间

    private Date updatedAt;//更新时间

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(String transactionType) {
        this.transactionType = transactionType == null ? null : transactionType.trim();
    }

    public String getTransactionRes() {
        return transactionRes;
    }

    public void setTransactionRes(String transactionRes) {
        this.transactionRes = transactionRes == null ? null : transactionRes.trim();
    }

    public BigDecimal getTransactionValue() {
        return transactionValue;
    }

    public void setTransactionValue(BigDecimal transactionValue) {
        this.transactionValue = transactionValue;
    }

    public String getTransactionFun() {
        return transactionFun;
    }

    public void setTransactionFun(String transactionFun) {
        this.transactionFun = transactionFun == null ? null : transactionFun.trim();
    }

    public String getTransactionInno() {
        return transactionInno;
    }

    public void setTransactionInno(String transactionInno) {
        this.transactionInno = transactionInno == null ? null : transactionInno.trim();
    }

    public String getTransactionOutno() {
        return transactionOutno;
    }

    public void setTransactionOutno(String transactionOutno) {
        this.transactionOutno = transactionOutno == null ? null : transactionOutno.trim();
    }

    public Integer getTransactionInuserid() {
        return transactionInuserid;
    }

    public void setTransactionInuserid(Integer transactionInuserid) {
        this.transactionInuserid = transactionInuserid;
    }

    public Integer getTransactionOutuserid() {
        return transactionOutuserid;
    }

    public void setTransactionOutuserid(Integer transactionOutuserid) {
        this.transactionOutuserid = transactionOutuserid;
    }

    public String getTransactionReno() {
        return transactionReno;
    }

    public void setTransactionReno(String transactionReno) {
        this.transactionReno = transactionReno == null ? null : transactionReno.trim();
    }

    public Integer getTransactionRealuserid() {
        return transactionRealuserid;
    }

    public void setTransactionRealuserid(Integer transactionRealuserid) {
        this.transactionRealuserid = transactionRealuserid;
    }

    public Date getTransactionDate() {
        return transactionDate;
    }

    public void setTransactionDate(Date transactionDate) {
        this.transactionDate = transactionDate;
    }

    public Integer getTransactionBillid() {
        return transactionBillid;
    }

    public void setTransactionBillid(Integer transactionBillid) {
        this.transactionBillid = transactionBillid;
    }

    public String getTransactionMark() {
        return transactionMark;
    }

    public void setTransactionMark(String transactionMark) {
        this.transactionMark = transactionMark == null ? null : transactionMark.trim();
    }



    public Boolean getDataStatus() {
		return dataStatus;
	}

	public void setDataStatus(Boolean dataStatus) {
		this.dataStatus = dataStatus;
	}

	public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

	@Override
	public String toString() {
		return "Business [id=" + id + ", transactionType=" + transactionType + ", transactionRes=" + transactionRes
				+ ", transactionValue=" + transactionValue + ", transactionFun=" + transactionFun + ", transactionInno="
				+ transactionInno + ", transactionOutno=" + transactionOutno + ", transactionInuserid="
				+ transactionInuserid + ", transactionOutuserid=" + transactionOutuserid + ", transactionReno="
				+ transactionReno + ", transactionRealuserid=" + transactionRealuserid + ", transactionDate="
				+ transactionDate + ", transactionBillid=" + transactionBillid + ", transactionMark=" + transactionMark
				+ ", dataStatus=" + dataStatus + ", createdAt=" + createdAt + ", updatedAt=" + updatedAt + "]";
	}
    
    
}